
package com.shangsi.feignservice.fallback;

import org.springframework.stereotype.Component;

/**
 * 一定要加到容器中
 * @author dzd
 * @date 2021-12-18
 */
@Component
public class PaymentFeignFallbackService implements PaymentFeignService {
    @Override
    public String getPayment(Integer id) {
        return "我出现异常了 哈哈哈哈哈啊哈";
    }
}
